<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>layuiAdmin 管理员 iframe 框</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
  <link rel="stylesheet" href="${pageContext.request.contextPath }/back/layui/css/layui.css" media="all">
</head>
<body>

  <div class="layui-form" lay-filter="layuiadmin-form-admin" id="layuiadmin-form-admin" style="padding: 20px 30px 0 0;">
  	<div class="layui-form-item">
      <label class="layui-form-label">房间号</label>
      <div class="layui-input-inline">
        <input type="text" name="roomNum" lay-verify="required" placeholder="请输入房间号" autocomplete="off" class="layui-input">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">房间类型</label>
      <div class="layui-input-inline">
        <input type="text" name="rtName" lay-verify="required" placeholder="请输入房间类型" autocomplete="off" class="layui-input">
      </div>
    </div>

    <div class="layui-form-item">
      <label class="layui-form-label">价格</label>
      <div class="layui-input-inline">
        <input type="text" name="rtPrice" lay-verify="phone" placeholder="请输入价格" autocomplete="off" class="layui-input">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">押金</label>
      <div class="layui-input-inline">
        <input type="text" name="rtForegift" lay-verify="phone" placeholder="请输入押金" autocomplete="off" class="layui-input">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">入住时间 </label>
      <div class="layui-input-inline">
        <input type="text" name="in_time" class="layui-input" id="test5" placeholder="yyyy-MM-dd HH:mm:ss">
      </div>
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">预住天数</label>
      <div class="layui-input-inline">
        <input type="text" name="days" lay-verify="phone" placeholder="请输入预住天数" autocomplete="off" class="layui-input">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">结算时间 </label>
      <div class="layui-input-inline">
        <input type="text" name="chk_time" class="layui-input" id="test6" placeholder="yyyy-MM-dd HH:mm:ss">
      </div>
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">姓名</label>
      <div class="layui-input-inline">
        <input type="text" name="userRealname" lay-verify="phone" placeholder="请输入姓名" autocomplete="off" class="layui-input">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">手机号</label>
      <div class="layui-input-inline">
        <input type="text" name="userTel" lay-verify="phone" placeholder="请输入手机号" autocomplete="off" class="layui-input">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">身份证号</label>
      <div class="layui-input-inline">
        <input type="text" name="userRealID" lay-verify="phone" placeholder="请输入身份证号" autocomplete="off" class="layui-input">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">人数</label>
      <div class="layui-input-inline">
        <input type="text" name="in_count" lay-verify="phone" placeholder="请输入人数" autocomplete="off" class="layui-input">
      </div>
    </div>
    
    <div class="layui-form-item">
      <label class="layui-form-label">备注</label>
      <div class="layui-input-block">
        <textarea type="text" name="remark" lay-verify="required" autocomplete="off" class="layui-textarea"></textarea>
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">处理人</label>
      <div class="layui-input-inline">
        <input type="text" name="admin_name" lay-verify="phone" placeholder="请输入处理人" autocomplete="off" class="layui-input">
      </div>
    </div>
    <div class="layui-form-item">
      <label class="layui-form-label">处理状态</label>
      <div class="layui-input-inline">
        <select name="rt_cl_room">
	      	<option value="defult">请选择</option>
	        <option value="0">未结算</option>
	        <option value="1">已结算</option>
	      </select>
      </div>
    </div>
    
    <div class="layui-form-item layui-hide">
      <input type="button" lay-submit lay-filter="LAY-user-front-submit" id="LAY-user-back-submit" value="确认">
    </div>
  </div>

  <script src="${pageContext.request.contextPath }/back/layui/layui.js"></script>
  <script>
  layui.config({
    base: '${pageContext.request.contextPath }/back/' //静态资源所在路径
  }).extend({
    index: 'lib/index' //主入口模块
  }).use(['index', 'form'], function(){
    var $ = layui.$
    ,form = layui.form ;
  })
  </script>
  <script>
layui.use('laydate', function(){
  var laydate = layui.laydate;
  
  //日期时间选择器
  laydate.render({
    elem: '#test5'
    ,type: 'datetime'
  });
  //日期时间选择器
  laydate.render({
    elem: '#test6'
    ,type: 'datetime'
  });
});
</script>
</body>
</html>